package com.zyw.auth.model;

import java.io.Serializable;

public class RightsTreeVo implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;
    private String name;
    private Boolean open;
    private Long pId;
    private String ztreeIcon;

    public RightsTreeVo() {
        super();
    }
    
    public RightsTreeVo(Long id, String name, Long pId) {
        super();
        this.id = id;
        this.name = name;
        this.pId = pId;
        this.open = false;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boolean getOpen() {
        return open;
    }

    public void setOpen(Boolean open) {
        this.open = open;
    }

    public String getZtreeIcon() {
        return ztreeIcon;
    }

    public void setZtreeIcon(String ztreeIcon) {
        this.ztreeIcon = ztreeIcon;
    }

    public Long getpId() {
        return pId;
    }

    public void setpId(Long pId) {
        this.pId = pId;
    }
}
